A software metric system for module coupling
نویسندگان
چکیده
Low module coupling is considered to be a desirable quality for modular programs to have. Previously, coupling has been de ned subjectively, and not quanti ed, making it di cult to use in practice. In this paper, we extend previous work to re ect newer programming languages, and quantify coupling by developing a general software metric system that allows us to automatically measure coupling. We have precisely de ned the levels of coupling so that they can be determined algorithmically, incorporated the notion of direction into the coupling levels, and accounted for di erent types of non-local variables present in modern programming languages. With our system, we can measure the coupling between all pairs of modules in a system, measure the coupling of a particular module with all other modules in a system, and measure the coupling of an entire system. We have implemented our metric system so that it measures the coupling between pairs of procedures in arbitrary C programs and have analyzed several well-used systems of various sizes.
منابع مشابه
Measuring Coupling and Cohesion: An Information-Theory Approach
The design of software is often depicted by graphs that show components and their relationships. For example, a structure chart shows the calling relationships among components. Object-oriented design is based on various graphs, as well. Such graphs are abstractions of the software, devised to depict certain design decisions. Coupling and cohesion are attributes that summarizes the degree of in...
متن کاملDetermine Cohesion and Coupling for Class Diagram through Slicing Techniques
High cohesion or module strength indicates that a system has been well partitioned into components which have strong internal relationships between attribute, method and class. Cohesion is an important factor in term of software design. Coupling indicates the degree of interdependence among the component of a software system. Coupling is thought to be a desirable goal in software construction, ...
متن کاملOn the concept of coupling, its modeling and measurement
Although measurement is of importance, the diculty to develop sound measures should not be underestimated. If a quality we want to assess is ambiguous, it is unlikely to develop reliable measures. For the fundamental concept of coupling, we reveal that there is a big dierence between the commonly perceived essence of coupling and its usual de®nition. We show also that the classi®cation of ®ve...
متن کاملAnalysis of Static Coupling Versus Dynamic Coupling in a Distributed Object Oriented System Based on Trace Events
Software metrics play a key role in the planning and in the control of software development projects. The Estimation of Coupling helps in the development of quality Software Products as well as in the maintenance. They reason out the structural complexity of software and to envisage the quality of the Software Product. Quality attributes such as Fault-proneness, ripple effect of changes and cha...
متن کاملIdentification of Reusable Software Modules in Function Oriented Software Systems using Neural Network Based Technique
The cost of developing the software from scratch can be saved by identifying and extracting the reusable components from already developed and existing software systems or legacy systems [6]. But the issue of how to identify reusable components from existing systems has remained relatively unexplored. We have used metric based approach for characterizing a software module. In this present work,...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Journal of Systems and Software
دوره 20 شماره
صفحات -
تاریخ انتشار 1993